package com.tencreat.domain.mall;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 描述信息
 *
 * @Author yaoruiqi
 * @Company: 深圳腾创互联科技有限公司
 * @link: https://tencreat.com
 * @Date: 2023/10/24 14:47
 */

@Data
@ApiModel
@Accessors(chain = true)
//@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("recharge_package")
public class RechargePackage {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    @ApiModelProperty(value= "充值金额")
    @TableField("`money`")
    private BigDecimal money;


    @ApiModelProperty(value= "充值赠送提货单金额")
    @TableField("`goods_roll`")
    private  BigDecimal goodsRoll;

    @ApiModelProperty(value= "充值赠送提货单金额")
    @TableField("`consumer_roll`")
    private  BigDecimal consumerRoll;

}
